package com.lishe.lishe.net;

/**
 * Created by coku on 2017/7/11 0011.
 */

public interface ResultListener<T extends BaseProtocal> {

    void onSuccess(T mBaseProtocal);//请求成功

    void onFail(int errcode, String msg);//错误信息

    void onError(Throwable e);//请求失败

}
